SinceKotlin

Specifies the first version of Kotlin where a declaration has appeared. Using the declaration and specifying an older API version (via the -api-version command line option) will result in an error.

Constructors

SinceKotlin
Link copied to clipboard
fun SinceKotlin(version: String)

Properties

version
Link copied to clipboard
val version: String

the version in the following formats: <major>.<minor> or <major>.<minor>.<patch>, where major, minor and patch are non-negative integer numbers without leading zeros.